package cc.magicjson.mall.member.domain.repository;

import cc.magicjson.mall.member.domain.model.Member;
import cc.magicjson.mall.member.domain.model.MemberAggregate;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface MemberRepository extends JpaRepository<Member, String> {
    Member findByUsername(String username);
    Member save(Member member);
}